.classList {
  height: 100%;
  background-color: #f5f5f5;

  .clearfix::after {
    content: '';
    display: block;
    clear: both;
  }

  .clearfix {
    zoom: 1;
  }

  &_top {
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    background-color: #fff;

    .into_index {
      width: 100px;
      height: 28px;
      text-align: center;
      line-height: 28px;
      color: #101010;
      font-size: 14px;
      border: 1px solid #BBBBBB;
      position: relative;
      border-radius: 4px;
      cursor: pointer;

      i {
        top: 7px;
      }
    }

    i {
      position: absolute;
      right: 4px;
      top: 8px;
    }

    .current {
      width: 125px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      background: #409EFF 10000%;
      border: 1px solid #fff;
      position: relative;
      font-size: 14px;
      color: #fff;
      margin-left: 10px;
      border-radius: 4px;
      cursor: pointer;

      &::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #fff;
        position: absolute;
        left: 6px;
        top: 10px;
      }
    }
  }

  // 分类列表信息
  .classList_info {
    background-color: #fff;
    width: 100%;
    padding: 40px 20px;
    margin-top: 20px;
    // 新增按钮
    .classList_newBtn {
      margin-bottom: 40px;

      button {
        width: 110px;
        height: 40px;
        background: #27B148;
        border: 0 none;
        color: #fff;
        font-size: 14px;
        border-radius: 4px;
        outline: none;
        cursor: pointer;

        i {
          margin-right: 5px;
        }

        &:hover {
          opacity: 0.8;
        }
      }
    }

    // 商品列表
    .shopList {
      li {
        list-style: none;
      }

      .shopList_item {
        width: 100%;

        .shopList_primary {
          display: flex;
          align-items: center;
          justify-content: space-between;
          list-style: none;
          width: 80%;
          height: 50px;
          margin-bottom: 10px;
          border: 1px solid rgba(0, 0, 0, 0.3);
          border-radius: 4px;
          padding: 0 15px;

          .shopList_left {
            display: flex;
            align-items: center;

            img {
              width: 40px;
              height: 40px;
              margin-right: 20px;
            }
          }

          .shopList_right {
            display: flex;
            align-items: center;

            button {
              width: 40px;
              border: 0;
              border-radius: 3px;
              height: 20px;
              color: #fff;
              line-height: 22px;
              outline: none;
              background-color: #409EFF;
            }

            div {
              width: 30px;
              margin-left: 10px;
              border-radius: 3px;
              height: 30px;
              text-align: center;
              line-height: 30px;
              border: 1px solid rgba(0, 0, 0, 0.2);
            }
          }
        }

        // 二级分类
        .shopList_second {
          width: 80%;
          padding-left: 60px;
          // ul{
          //     display: flex;
          //     flex-direction: column;
          //     margin-left: auto;
          // }
          li {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 50px;
            margin-bottom: 10px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            border-radius: 4px;
            padding: 0 15px;

            .shopList_left {
              display: flex;
              align-items: center;

              img {
                width: 40px;
                height: 40px;
                margin-right: 20px;
              }
            }

            .shopList_right {
              display: flex;
              align-items: center;

              button {
                width: 40px;
                border: 0;
                border-radius: 3px;
                height: 20px;
                color: #fff;
                line-height: 22px;
                outline: none;
                background-color: #409EFF;
              }

              div {
                width: 30px;
                margin-left: 10px;
                border-radius: 3px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                border: 1px solid rgba(0, 0, 0, 0.2);
              }
            }
          }
        }
      }
    }

    // 保存按钮
    .submitBtn {
      width: 100%;
      margin-top: 50px;

      button {
        border: 0;
        width: 80px;
        height: 40px;
        color: #fff;
        background-color: #409EFF;
        border-radius: 5px;
      }
    }


  }

}